package com.jk.smartelderlycare.interfaces;

import com.jk.smartelderlycare.dto.SysSign;
import com.jk.smartelderlycare.pojo.PagedResponse;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Description 添加描述
 * @Author hhk
 * @LastChangeDate 2024/11/15 15:09
 * @Version v1.0
 */
public interface SysSignServiceApi {
    /**
     * @description: 后端分页查询
     * @param: [sysSign, pageNum, pageSize]
     * @return: com.jk.smartelderlycare.pojo.PagedResponse<com.jk.smartelderlycare.dto.SysSign>
     * @author hhk
     * @date: 2024/11/15 15:12
     */
    @PostMapping(value = "/sysSign/findSysSignPaginationList")
    public PagedResponse<SysSign> findSysSignPaginationList(@RequestBody SysSign sysSign, @RequestParam(value = "pageNum") Integer pageNum, @RequestParam(value = "pageSize") Integer pageSize);
    /**
     * @description: 通过
     * @param: [signId]
     * @return: void
     * @author hhk
     * @date: 2024/11/15 15:15
     */
    @PutMapping(value = "/sysSign/updateStatusById")
    public void updateStatusById(@RequestParam Long signId);
    /**
     * @description: 不通过
     * @param: [signId]
     * @return: void
     * @author hhk
     * @date: 2024/11/15 15:15
     */
    @PutMapping(value = "/sysSign/alStatusById")
    public void alStatusById(@RequestParam Long signId);

    /**
     * @description: 删除
     * @param: [signId]
     * @return: void
     * @author hhk
     * @date: 2024/11/15 16:00
     */
    @PutMapping(value = "/sysSign/updateSignDateById")
    public void deleteSysSignById(@RequestParam Long signId);
}
